package pojo;

import java.io.Serializable;

public class UserDO implements Serializable {
    private static final long serialVersionUID = -5408025305352897828L;
    /**
     * 用户类
     */
    private String id;
    private String password;
    private double money;

    public UserDO() {
    }

    public UserDO(String id, String password, double money) {
        this.id = id;
        this.password = password;
        this.money = money;
    }

    @Override
    public String toString() {
        return "pojo.User{" +
                "id='" + id + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
